module.exports = {
  form:{
    id:'',
    username:'',
    password:'',
    name:'',
    workid:'',
    sex:'1',
    ethnic:'01',
    idcard:'',
    birthday:new Date(),
    department:'',
    mobile:'',
    phone:''
  },
  options:{
    id:{type:'hide'},
    username:{type:'text',label:'用户名'},
    password:{type:'password',label:'密码'},
    name:{type:'text',label:'姓名'},
    workid:{type:'text',label:'警号'},
    sex:{type:'radio',label:'性别',dictName:'性别'},
    ethnic:{type:'select',label:'民族',dictName:'民族'},
    idcard:{type:'text',label:'身份证号'},
    birthday:{type:'date',label:'出生日期'},
    department:{type:'cascader',label:'所属部门',dictName:"行政区划"},
    mobile:{type:'text',label:'手机号'},
    phone:{type:'text',label:'集团小号'},
  },
  rules:{},
  columns: [
    { prop: "name", label: "姓名", width: 120 },
    { prop: "username", label: "用户名", width: 200 },
    {
      prop: "description",
      label: "部门",
      dictName: "行政区划",
    },
    { prop: "workid", label: "警号", width: 120 },
    { prop: "sex", label: "性别", width: 50,dictName:'性别' },
    { prop: "idcard", label: "身份证号", width: 120 },
    { prop: "mobile", label: "手机号", width: 120 },
  ]
}